#ifndef FAULT_BIG_HPP
#define FAULT_BIG_HPP

#include "fault.hpp"

namespace motion
{
	class fault_big:public fault
	{
		protected:
			uint32_t mTrigTimeCount;                                                  //>触发计数
			uint32_t mResumeTimeCount;                                               ///> 回复计数
			virtual bool CompareValue(bool isResume);                                  ///>父类回调函数
			virtual void mTicked(void);                                                ///>父类回调函数
		public:
			uint32_t FaultTrigTime;														///<故障触发时间(ms)
			uint32_t FaultResumeTime;													///<故障恢复时间(ms)
			fault_big(void);
			virtual ~fault_big(void);
			virtual void Reset();
	};
}

#endif
